<?php
class ErrorController extends AppController 
{
   	public function indexAction()
    {
        return $this->errorAction();
    }
   
    public function errorAction()
    {
		$this->writeErrLog( 'error_handler' , get_class($this) , __FUNCTION__ , print_r( $this->_getParam('error_handler') , true ) ) ;
    }
}